﻿using B.S.Meeting.Domain;
using B.S.Meeting.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.Meeting.WriteAPI.Applications.Commands.Depts
{
    public class UpdDeptCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 部门ID
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }
        /// <summary>
        /// 上级部门ID
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 主管人员
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 部门描述
        /// </summary>
        public string DeptDesc { get; set; }
    }
}
